source/bessel.d(179,26): Error: `@safe` function `bessel.besselK` cannot call `@system` function `core.stdc.stdlib.calloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(160,9): `core.stdc.stdlib.calloc` is declared here source/bessel.d(179,6): Error: cast from `void*` to `double*` not allowed in safe code source/bessel.d(180,15): Error: `@safe` function `bessel.besselK` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here source/bessel.d(181,30): Error: pointer slicing not allowed in safe functions source/bessel.d(190,7): Error: safe function `bessel.besselK` cannot index pointer `b` source/bessel.d(697,26): Error: `@safe` function `bessel.besselI` cannot call `@system` function `core.stdc.stdlib.calloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(160,9): `core.stdc.stdlib.calloc` is declared here source/bessel.d(697,6): Error: cast from `void*` to `double*` not allowed in safe code source/bessel.d(698,15): Error: `@safe` function `bessel.besselI` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here source/bessel.d(699,30): Error: pointer slicing not allowed in safe functions source/bessel.d(708,7): Error: safe function `bessel.besselI` cannot index pointer `b` source/bessel.d(1168,26): Error: `@safe` function `bessel.besselJ` cannot call `@system` function `core.stdc.stdlib.calloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(160,9): `core.stdc.stdlib.calloc` is declared here source/bessel.d(1168,6): Error: cast from `void*` to `double*` not allowed in safe code source/bessel.d(1169,15): Error: `@safe` function `bessel.besselJ` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here source/bessel.d(1170,21): Error: pointer slicing not allowed in safe functions source/bessel.d(1179,7): Error: safe function `bessel.besselJ` cannot index pointer `b` source/bessel.d(1694,26): Error: `@safe` function `bessel.besselY` cannot call `@system` function `core.stdc.stdlib.calloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(160,9): `core.stdc.stdlib.calloc` is declared here source/bessel.d(1694,6): Error: cast from `void*` to `double*` not allowed in safe code source/bessel.d(1695,15): Error: `@safe` function `bessel.besselY` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here source/bessel.d(1696,21): Error: pointer slicing not allowed in safe functions source/bessel.d(1707,7): Error: safe function `bessel.besselY` cannot index pointer `b` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.